<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2025/4/8
  Time: 16:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>购物车</title>
</head>
<body>
<h2>选择你要加入购物车的书籍</h2>
<form action="shopcar" method="post">
    <table>
        <tr>
            <th>选项</th>
            <th>书籍信息</th>
            <th>价格</th>
        </tr>
        <tr>
            <td><input type="checkbox" name="bookId" value="1"></td>
            <td>java编程思想</td>
            <td>109.00</td>
        </tr>
        <tr>
            <td><input type="checkbox" name="bookId" value="2"></td>
            <td>python实战</td>
            <td>89.00</td>
        </tr>
        <tr>
            <td><input type="checkbox" name="bookId" value="3"></td>
            <td>大前端项目实战</td>
            <td>98.00</td>
        </tr>
    </table>
    <input type="submit" value="加入购物车">
</form>

</body>
</html>
